local skel = fk.CreateSkill{
  name = "golden_cymbals_skill_delay",
}
Fk:loadTranslationTable{
  ["golden_cymbals_skill_delay"] = "金铙",
  [":golden_cymbals_skill_delay"] = "金铙",
}
---@type TrigSkelSpec<DamageTrigFunc>
local delay = {
  can_refresh = function (self, event, target, player, data)
    return player == target and player:getMark("@golden_cymbals") > 0
  end,
  on_refresh = function (self, event, target, player, data)
    player.room:notifySkillInvoked(player, "golden_cymbals_skill", "defensive")
    player.room:removePlayerMark(player, "@golden_cymbals", 1)
    data:preventDamage()
  end
}
skel:addEffect(fk.DamageInflicted, delay)
return skel